package com.googlecode.sqldatagenerator.model.dto;

import java.io.Serializable;
import java.util.List;

public class GeneratorRequestDto implements Serializable {

    private static final long serialVersionUID = -7946484947421469772L;

    private String sqlStatement;
    
    private DatabaseDto database;
    
    private List<BindExpressionDto> expressions;

    public String getSqlStatement() {
        return sqlStatement;
    }

    public void setSqlStatement(String sqlStatement) {
        this.sqlStatement = sqlStatement;
    }

    public DatabaseDto getDatabase() {
        return database;
    }

    public void setDatabase(DatabaseDto database) {
        this.database = database;
    }

    public List<BindExpressionDto> getExpressions() {
        return expressions;
    }

    public void setExpressions(List<BindExpressionDto> expressions) {
        this.expressions = expressions;
    }
    
    @Override
    public String toString() {
        return "GeneratorRequestDto"
             + "[sqlStatement=" + sqlStatement
             + "]";
    }
}
